Skip to content

AXON-1596: Agent mode#1532

Merged
jwang19-atlassian merged 52 commits intomainfrom
axon-1596-agent-mode
Feb 11, 2026
Merged

AXON-1596: Agent mode#1532
jwang19-atlassian merged 52 commits intomainfrom
axon-1596-agent-mode

Conversation

@jwang19-atlassian
Copy link
Contributor

@jwang19-atlassian jwang19-atlassian commented Jan 22, 2026

What Is This Change?

This pull request introduces agent mode management to the Rovo Dev client and webview provider, allowing users to query, set, and retrieve available agent modes (ask, default, plan). It adds new API endpoints, updates the chat provider and webview provider logic to handle agent mode selection, and includes comprehensive tests for these features.

Changes:

  • Add agent mode list in preferences menu
  • Add client for get available agent modes, set agent mode, get current agent mode
  • Remove Deep Plan from original toggle menu
  • Added @atlaskit/primitives to package.json dependencies

Demo (UPDATE!)
https://www.loom.com/share/2dbaed5f085b4ce9b2ea371b8e281c84

Improvement: The available agent mode list response will need to wait the Rovo Dev health check got the response and took so long, so I added a placeholder for it during the time waiting for health check, check the video 👇
https://www.loom.com/share/87968674821c4f44af27e30bb38e1040

How Has This Been Tested?

Basic checks:

  • npm run lint
  • npm run test

Rovo Dev couldn't review this pull request
Something went wrong while reviewing this pull request.
Troubleshoot code review errors

@jwang19-atlassian jwang19-atlassian mentioned this pull request Jan 22, 2026
2 tasks
@jwang19-atlassian
Copy link
Contributor Author

Changelog

  • Revert Plan toggle deletion
  • Disable Plan mode in available agent modes

@jwang19-atlassian jwang19-atlassian merged commit e6e99f6 into main Feb 11, 2026
13 checks passed
@jwang19-atlassian jwang19-atlassian deleted the axon-1596-agent-mode branch February 11, 2026 07:50
teg-atlassian pushed a commit that referenced this pull request Feb 12, 2026
* agent mode client and types

* feat: agent mode handler

* init local agent mode state

* prompt box UI

* add ask mode ui to webview

* fix: set ask mode state

* remove debug console

* remove duplicate state setter

* ut

* comment

* fix: tool handler check

* add slash style cmd for ask mode and fix the copy

* fix: support key down event

* add agent related message handlers

* use agent hook

* refactor: separate prompt settings item component

* agent mode section in menu

* hoist agent mode fetch call

* fix: style

* fix: prompt settings popup max width

* fix: use atlaskit component

* cleanup

* fix: ut

* cleanup

* fix: ui

* cleanup

* agent mode tooltip icon

* minor fix

* loading status

* improve pref for init agent modes fetching

* fix: remove duplicated calls

* perf: fetch agent modes when init rovo dev

* add default agent modes to improve ux"

* add dismiss in icon to switch back to default mode

* add dismiss in icon to switch back to default mode

* default mode on top of the list

* minor fix

* style cleanup

* temporarily remove deep plan in toggle

* fix: ut

* fix: tooltip text

* Revert "temporarily remove deep plan in toggle"

This reverts commit 9253ed8.

* Revert "fix: ut"

This reverts commit f1590a1.

* disable plan mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants